package com.jstyle.jclifexd.model;

import java.io.Serializable;

public class RecordData implements Serializable {
    private int index;//索引,日期-1
    private float distance;//距离
    private int stride;//步频
    private int pace;//配速值%256得到分,值/256得到秒
    private int heartRate;//心率

    public void setIndex(int index) {
        this.index = index;
    }

    public int getIndex() {
        return this.index;
    }

    public void setDistance(float distance) {
        this.distance = distance;
    }

    public float getDistance() {
        return this.distance;
    }

    public void setStride(int stride) {
        this.stride = stride;
    }

    public int getStride() {
        return this.stride;
    }

    public void setPace(int pace) {
        this.pace = pace;
    }

    public int getPace() {
        return this.pace;
    }

    public void setHeartRate(int heartRate) {
        this.heartRate = heartRate;
    }

    public int getHeartRate() {
        return this.heartRate;
    }
}

